Adding a category

It is required to create at least one category. Categories and variables are stored in one list. The category differs from a variable by the “space,” which is the first symbol of the name. All variables located in the list after the category, are considered belonging to this category.

Process of adding a category to the list can be performed in two ways:

frxReport1.Variables[' ' + 'My Category 1'] := Null;

or

var

Category: TfrxVariable;

Category := frxReport1.Variables.Add;

Category.Name := ' ' + 'My category 1';